package java69.work720;

public class NetTeacher extends Teacher{
    public NetTeacher() {
    }

    public NetTeacher(String name, String sex, int age, int years, String adress) {
        super(name, sex, age, years, adress);
    }
    public void show(){
        super.setName("小王");
        super.setSex("男");
        super.setAge(20);
        super.setAdress("合肥");
        super.setYears(5);
        super.showSelf();
        super.teaching("Visual Studio 2017");
    }

    public static void main(String[] args) {
        NetTeacher netTeacher = new NetTeacher();
        netTeacher.show();
    }
}
